﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Engine.Physics
{
    public abstract class CollisionShape
    {
        public virtual Vector2 GetMaxPoint(Vector2 _dir)
        {
            return Vector2.Zero;
        }

        public virtual void GetBestEdge(out Vector2 _max, out Vector2 _e1, out Vector2 _e2, Vector2 _n)
        {
            _max = Vector2.Zero;
            _e1 = Vector2.Zero;
            _e2 = Vector2.Zero;
            return;
        }

        public virtual float Width { get { return 0; } }
        public virtual float Height { get { return 0; } }
    }
}
